package net.begincode.searchCommon.bean;

/**
 * @author hlj~宇晗
 * @create 2017-03-26 23:54
 **/
public class PageParam extends Param {
	private int page;//传入的页号
	private int pageEachSize=10;//每一页显示的记录数
	@Override
	public void check() {

	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getPageEachSize() {
		return pageEachSize;
	}

	public void setPageEachSize(int pageEachSize) {
		this.pageEachSize = pageEachSize;
	}
	public Integer getStart(){return (page-1)*pageEachSize;}
}
